package com.youkeda.bmatch.model;

import java.util.Date;

/**
 * @author zhoufan
 * @date 2019/1/22
 */
public class User {

  //用户序号
  private int index;

  //用户名称
  private String name;

  //用户体重（cm）
  private double weight;

  //用户高度（kg）
  private double height;

  //用户出生日期
  private Date birthday;

  public User(int index, String name, double weight, double height, Date birthday) {
    this.index = index;
    this.name = name;
    this.weight = weight;
    this.height = height;
    this.birthday = birthday;
  }

  public int getIndex() {
    return index;
  }

  public void setIndex(int index) {
    this.index = index;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public double getWeight() {
    return weight;
  }

  public void setWeight(double weight) {
    this.weight = weight;
  }

  public double getHeight() {
    return height;
  }

  public void setHeight(double height) {
    this.height = height;
  }

  public Date getBirthday() {
    return birthday;
  }

  public void setBirthday(Date birthday) {
    this.birthday = birthday;
  }
}
